ContextUtils

open class ContextUtils

Functions

Link copied to clipboard
open fun extractModuleThemeContext(    @NonNull activityContext: Context,     @StyleRes themeResId: Int,     @AttrRes moduleAttrResId: Int): Context
Link copied to clipboard
open fun getApplicationName(@NonNull context: Context): String
Link copied to clipboard
open fun getWindow(@NonNull context: Context): Window
Link copied to clipboard
open fun toastError(@Nullable context: Context, @StringRes resId: Int)
open fun toastError(@Nullable context: Context, @NonNull message: String)
open fun toastError(    @Nullable context: Context,     @StringRes resId: Int,     useOverlay: Boolean)
open fun toastError(    @Nullable context: Context,     @NonNull message: String,     useOverlay: Boolean)
Link copied to clipboard
open fun toastSuccess(@Nullable context: Context, @StringRes text: Int)
open fun toastSuccess(@Nullable context: Context, @NonNull text: CharSequence)
open fun toastSuccess(    @Nullable context: Context,     @StringRes text: Int,     useOverlay: Boolean)
open fun toastSuccess(    @Nullable context: Context,     @NonNull text: CharSequence,     useOverlay: Boolean)